home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
rbbstxt.zip
/
DOORTEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-08-26
|
1KB
|
27 lines
ECHO OFF
CLS
ECHO This is a DOOR TEST bat file. It doesn't do anything, but it
ECHO does show you where the various files go to get doors running.
ECHO THIS file represents the door startup .BAT. It should contain
ECHO The instructions to run the door (passing any needed parameters).
ECHO When this file exits, RBBS-PC will restart.
IF NOT %5. == . GOTO DOORDEF
ECHO RBBS-PC did not use the supplied DOORS.DEF file to invoke this
ECHO door. The only thing passed to the door in this case is the
ECHO node number, which is %1.
:DOORDEF
ECHO If this .BAT file is started from DOORS.DEF, you can pass the following
ECHO information:
ECHO [BAUD] in the template passes..... BAUD RATE: %1
ECHO [PARITY] in the template passes...... PARITY: %2
ECHO [PORT] in the template passes........ DEVICE: %3
ECHO [PORT#] in the template passes.. PORT NUMBER: %4
ECHO [NODE] in the template passes.......... NODE: %5
ECHO Now, we'll tell the REMOTE user we made it to the door.
IF %4. == . GOTO EXIT
IF %3. == COM0. ECHO This test was run in LOCAL mode.
IF NOT %3. == COM0. ECHO Door test successful! Returning to BBS... > %3
:EXIT
ECHO End of test - now returning to RBBS-PC.
IF %4. == 0. PAUSE